import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/vant.js'
import 'amfe-flexible'
Vue.config.productionTip = false

// 导入全局过滤器
import moment from 'moment'
moment.locale('zh-cn')
Vue.filter('fromNow', function(value) {
    return moment(value).fromNow()
})
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')